package com.wy.service;

import com.wy.model.Room;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2019/12/510:43
 */

public interface RoomService {

    public List<Room> list();

    public Page<Room> pagelist(int page, int size);

    public Page<Room> pagelist(Room room,int page, int size);

    public Room save(Room room);

    public void delete(String id);

    public  Room getById(String id);

    public List<Room> list(Room room);
}
